import { Injectable } from '@angular/core';
import { HttpClient } from '../../../providers/httpClient';
import { Config } from '../../../providers/config';

@Injectable()
export class SettingSealService {
	constructor(
		public httpClient: HttpClient,
		public config: Config
	) { }

	seal(data) {
		let postBody = {
			"content": data
		};
		return this.httpClient.post(postBody, {
			url: this.config.server + "api/v1/common/seal/edit"
		});
	}

}